package gang.org.springframework.framework.factory;

import gang.org.springframework.framework.beans.GangBeanMetadataElement;

import java.util.*;

/**
 * @author gang.chen
 * @description
 * @Date 2021/12/27 13:45
 */
public class GangConstructorArgumentValues {

    private final Map<Integer, GangValueHolder> indexedArgumentValues = new LinkedHashMap<>();
    private final List<GangValueHolder> genericArgumentValues = new ArrayList<>();

    public static class GangValueHolder implements GangBeanMetadataElement{

    }

    public int getArgumentCount(){
        return (this.indexedArgumentValues.size() + this.genericArgumentValues.size());
    }

    public GangValueHolder getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<GangValueHolder> usedValueHolders){
        return null;
    }
}
